Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ next release #63

Open
wants to merge 86 commits into
base: master
Choose a base branch
from
Open

✨ next release #63

wants to merge 86 commits into from

Conversation

js2me
Copy link
Member

@js2me js2me commented Feb 19, 2019

Improvenments:

  • command fb web will have only one instance of NodeJS application.
    First call fb web -p SOME_PORT create a server hosted on port SOME_PORT.
    But call fb web inside another project will not create a new server
    But instead of this you can see all your running projects looking at localhost:SOME_PORT

Added

  • web [internal] changed webpack configuration for web client
  • web new options:
    • -i, --ignore-trs (in previous version it used by default)
      Allows to launch tasks without yarn or npm ( use absolute paths: webpack -> node_modules/.bin/webpack )
      default: false
    • -r, --task-runner <NAME>
      Allows to use another task runner for launch tasks. By default will use npm ( For example: -r yarn )
      default: 'npm'
    • -w, --without-browser
      This option disable opening the new tab in Google Chrome browser
      default: false
    • -s, --sort-by-name
      This option using to sort all commands by name (asc)
      default: false
  • cmd new options:
    • -i, --ignore-trs (in previous version it used by default)
      Allows to launch tasks without yarn or npm ( use absolute paths: webpack -> node_modules/.bin/webpack )
      default: false
    • -r, --task-runner <NAME>
      Allows to use another task runner for launch tasks. By default will use npm ( For example: -r yarn )
      default: 'npm'

Changed

  • [internal] fully refactored code on nodeJS and web view
  • Option prefix from -j, --procfile <FILE> to -f, --procfile <FILE>
  • [web] changed API endpoints:
    • POST:/run/${taskId} -> POST:/${configId}/${taskId}/run
    • POST:/stop/${taskId} -> POST:/${configId}/${taskId}/stop
    • POST:/clear-logs/${taskId} -> DELETE/${configId}/${taskId}/logs
    • GET:/logs/${taskId} -> GET:/${configId}/${taskId}/logs
    • POST:/update-envs({ id: string, envs: object}) -> PUT:/${configId}/${taskId}/envs(envs:object)

Fixed

  • Problems linked with running flamebird without node_modules folder

Removed

  • Removed default usage experimental converting npm/yarn run scripts to the absolute paths
  • [web]
    • /run-all API endpoint
    • /stop-all API endpoint

js2me and others added 30 commits December 6, 2018 03:11
…es to specific utils; chore: added gulp and grunt common libraries for display list of these task managers
js2me and others added 29 commits August 30, 2019 09:58
…ile; BREAKING_CHANGE: renamed to ; fix: problems with receiving ws messages after refactoringcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant